package com.lqian.juc;

import java.util.concurrent.locks.ReentrantLock;

public class ReentreLockDemo {
    private static ReentrantLock lock = new ReentrantLock();
    public static void main(String[] args) {
        lock.lock();
        lock.unlock();


//
//        public void lock() {
//            sync.lock();
//        }
    }
}
